package superminer.xinfang.com.ipreport.util.netty;

/**
 * Created by Administrator on 2018/3/22.
 */

public class Message {

    //消息类型
    private byte type;


    //消息体
    private String msgBody;

    public Message(byte type,String msgBody) {
        this.type = type;

        this.msgBody = msgBody;
    }

    public byte getType() {
        return type;
    }

    public void setType(byte type) {
        this.type = type;
    }



    public String getMsgBody() {
        return msgBody;
    }

    public void setMsgBody(String msgBody) {
        this.msgBody = msgBody;
    }
}
